import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------帮教谈心-----------*/
const serviceName = '/sjsk-crowmanage-service'
const intAppointment = (params) => postAction(`${serviceName}/interview/intAppointment`, params)
const intCancel = (params) => postAction(`${serviceName}/interview/intCancel`, params)
const intEntry = (params) => postAction(`${serviceName}/interview/intEntry`, params)
const intExport = (params) => downFile(`${serviceName}/interview/intExport`, params, 'post')
const intHistory = (params) => postAction(`${serviceName}/interview/intHistory`, params)
const intHistoryDetails = (params) => postAction(`${serviceName}/interview/intHistoryDetails`, params)
const intRenegotiation = (params) => postAction(`${serviceName}/interview/intRenegotiation`, params)
const intViewDetails = (params) => postAction(`${serviceName}/interview/intViewDetails`, params)
const queryInterview = (params) => postAction(`${serviceName}/interview/queryInterview`, params)
const intNum = (params) => postAction(`${serviceName}/interview/intNum`, params)

export {
  intAppointment,
  intCancel,
  intEntry,
  intExport,
  intHistory,
  intHistoryDetails,
  intRenegotiation,
  intViewDetails,
  queryInterview,
  intNum
}
